package practice;

import java.util.Scanner;

public class StringConstructor {
    public static void main(String[] args) {
        char[] c={'a','b','c','d','e'};
        String s=new String(c,2,3);
        System.out.println(s);
        Scanner stdIn=new Scanner(System.in);
        String s1=stdIn.nextLine();
        System.out.println(s1);
        for (int i = 0; i <s1.length() ; i++) {
            System.out.println(s1.charAt(i));
        }
    }
}
